// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>

.dashboard-bar {
  align-items: center;
  display: flex;
  font-size: $fs14;
  padding: $small $medium $small $x-big*2;

  .dashboard-images {
    flex-basis: 70px;
  }

  .dashboard-info {
    align-items: center;
    display: flex;
    width: 500px;
    justify-content: space-around;

    .dashboard-projects {
      font-weight: bold;
      margin-right: $medium;
    }

    .sort-by {
      margin-left: $small;
    }

    .input-select {
      background-color: transparent;
      border-color: $soft-ui-border;
      font-size: $fs14;
      margin-bottom: 0;
      margin-left: $medium;
      padding: 3px 25px 3px 3px;

      option {
        color: $intense-ui-text;
        background: $secondary-ui-bg;
      }
    }

  }

  .dashboard-search {
    align-items: center;
    display: flex;
    margin-left: $small;

    .input-text {
      background: $input-bg;
      border: 0;
      color: $intense-ui-text;
      padding: 4px 8px;
      margin: 0;
      max-width: 160px;
    }

    .clear-search {
      align-items: center;
      background: $input-bg;
      cursor: pointer;
      display: flex;
      height: 28px;
      padding: 0 5px;

      svg {
        fill: $medium-ui-icons;
        height: 15px;
        transform: rotate(45deg);
        width: 15px;

        &:hover {
          fill: $color-danger;
        }

      }

    }

  }

  &.library-gap {
    padding: $small $medium $small 270px;
  }

}
